from rest_framework import serializers

class Userser(serializers.Serializer):
    id = serializers.IntegerField()
    username = serializers.CharField(max_length=200)
    user_level = serializers.CharField(max_length=10)
    score = serializers.CharField(max_length=200)


class Newsser(serializers.Serializer):
    id = serializers.IntegerField()
    title = serializers.CharField(max_length=200)
    content = serializers.CharField(max_length=200)



